From 215874c4895f8df3f7a318526b138e735456040f Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Mon, 23 Apr 2007 19:50:10 +0000 Subject: [PATCH] *Do not convert to arrays --- maintenance/updateRestrictions.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/maintenance/updateRestrictions.php b/maintenance/updateRestrictions.php index f93a3fe783..6c8ffb5e49 100644 --- a/maintenance/updateRestrictions.php +++ b/maintenance/updateRestrictions.php @@ -36,10 +36,10 @@ function migrate_page_restrictions( $db ) { $temp = explode( '=', trim( $restrict ) ); if(count($temp) == 1) { // old old format should be treated as edit/move restriction - $oldRestrictions["edit"] = explode( ',', trim( $temp[0] ) ); - $oldRestrictions["move"] = explode( ',', trim( $temp[0] ) ); + $oldRestrictions["edit"] = trim( $temp[0] ); + $oldRestrictions["move"] = trim( $temp[0] ); } else { - $oldRestrictions[$temp[0]] = explode( ',', trim( $temp[1] ) ); + $oldRestrictions[$temp[0]] = trim( $temp[1] ); } } # Update restrictions table -- 2.20.1